#读取yaml文件数据

import yaml
#封装
def load_yaml(filename):
    stream = open(filename,'r')
    #读取文件数据
    data=yaml.load(stream,yaml.FullLoader)
    return data